package cn.java79.quiz.pojo;

import cn.java79.quiz.entity.Sectioninfo;

import java.io.Serializable;
import java.util.*;
/**
 * @author oldliu
 * @since 1.0
 */
public class Section extends Sectioninfo implements Serializable {
    private List<Sectioninfo> children=new ArrayList<>();//下级
    //上级
    private  Sectioninfo parent;//当前对象的parentid 指代的那个sectioninfo

    public List<Sectioninfo> getChildren() {
        return children;
    }

    public void setChildren(List<Sectioninfo> children) {
        this.children = children;
    }

    public Sectioninfo getParent() {
        return parent;
    }

    public void setParent(Sectioninfo parent) {
        this.parent = parent;
    }
}
